{{#if showAd}}
  {{#if site.mobileView}}
    <div class="google-dfp-ad-label" style={{adTitleStyleMobile}}><h2>{{i18n "adplugin.advertisement_label"}}</h2></div>
    <div id={{divId}} style={{adWrapperStyle}} class="dfp-ad-unit" align="center"></div>
  {{else}}
    <div class="google-dfp-ad-label"><h2>{{i18n "adplugin.advertisement_label"}}</h2></div>
    <div id={{divId}} style={{adWrapperStyle}} class="dfp-ad-unit" align="center"></div>
  {{/if}}
{{/if}}
